package com.yf.dao.course;

import com.yf.dao.BaseDao;
import com.yf.entity.course.TopCourseEntity;
import com.yf.vo.TopCourseBackVo;

import java.util.List;
import java.util.Map;

/**
 * 推荐课程Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 23 15:18:26 CST 2018
 */
public interface TopCourseDao extends BaseDao<TopCourseEntity> {
    //获取所有banner课程
    List<TopCourseEntity> getAll();

    /**
     * back 推荐课程
     * @return
     */
    List<TopCourseBackVo> topCourseList(Map<String, Object> params);

}
